<?php

require 'header.php';

?>
      <div class="middle">
		<div class="simple-container-left" id="page:main-container">
			<div class="container" id="page:container">
				<div class="main">
					<div class="content-container">
						<div class="content" id="content">
							<div class="content-header">
								<table class="grid-header" cellspacing="0" border="0" >
									<tbody>
										<tr>
											<td style=""><h3 class="icon-head head-customer">Manage Loan</h3></td>
										</tr>
									</tbody>
								</table>
							</div>
							<div id="messages"></div>

							<form name="form1" id="form1" action="add_coborrower_wizard.php" method="post">
							<div class="entry-edit">
								<h4 class="icon-head head-edit-form fieldset-legend">Loan Entry</h4>

                                    <table width="100%" cellspacing="10" border="0" style="background-color:#eeeeee" >
                                    <tbody>
                                           <tr>
                                               <td>
                                                   <div class="nav-bar"></div>
                                                   <h4>Borrower Information</h4>
                                               </td>
                                           </tr>
                                           <tr>
                                               <td>
                                                   <table width="100%" cellspacing="0" border="0">
										           <tbody>
										                  <tr>
										                      <td>
										                          <table width="100%" cellspacing="5" border="0">
										                          <tbody>
                                                                         <tr>
                                                                             <td >Use Existing Record</td>
                                                                             <td ><input type="checkbox" name="enable_borrower_info"  onclick="enable_borrower_fields()"> Enable</td>
                                                                         </tr>
                                                                         <tr>
                                                                             <td>Borrower ID</td>
                                                                             <td><input name="borrower_select" value="" class="required-entry required-entry input-text" type="text">
                                                                             &nbsp;<a href="">search</a></td>

                                                                         </tr>
										                                 <tr>
										                                     <td>Borrower ID <span class="required">*</span></td>
                                                                             <td><em>autogenerate</em></td>
															             </tr>
															             <tr>
																             <td>Last Name <span class="required">*</span></td>
																             <td><input name="borrower_lastname" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>                                                                                                                        <tr>
																             <td>First Name <span class="required">*</span></td>
																             <td><input name="borrower_firstname" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Middle Name</td>
																             <td><input name="borrower_middlename" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Address <span class="required">*</span></td>
																             <td><textarea name="borrower_address" cols="20" rows="2"></textarea></td>
															             </tr>
															             <tr>
																             <td>Barangay <span class="required">*</span></td>
																             <td><input name="borrower_barangay" value="" class="required-entry required-entry input-text" type="text"></td>
                                                                         </tr>
															             <tr>
																             <td>City <span class="required">*</span></td>
																             <td><input name="borrower_city" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Island <span class="required">*</span></td>
																             <td><input name="borrower_island" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
														         </tbody>
													             </table>
												             </td>
												             <td>
												                 <table width="100%" cellspacing="5"border="0">
														         <tbody>
															         <tr>
                                                                        <td width="50%"><br  /><br /><br />Picture </td>
																        <td align="left" width="50%"><img src="img/no_photo.jpg" width="120" height="120" /><br />
																        <input name="borrower_photo" value="" class="required-entry required-entry input-text" type="file"></td>
															        </tr>
                                                                    <tr>
																             <td>Phone <span class="required">*</span></td>
																             <td><input name="borrower_phone" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Mobile </td>
																             <td><input name="borrower_mobile" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Birthdate <span class="required">*</span></td>
																             <td><input name="borrower_birthdate" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Gender <span class="required">*</span></td>
																             <td><select name="borrower_gender" class="required-entry required-entry select" type="select">
								                                                   <option value="1">Male</option>
																	               <option value="2">Female</option>
																	             </select>
																             </td>
															             </tr>
															             <tr>
																             <td>Civil Status <span class="required">*</span></td>
																             <td><select name="borrower_civil_status" class="required-entry required-entry select" type="select">
																	               <option value="1">Single</option>
																	               <option value="2">Married</option>
																	               <option value="3">Divorced</option>
																	               <option value="4">Separated</option>
																	               <option value="5">Widowed</option>
																	             </select>
																              </td>
															             </tr>
														        </tbody>
													            </table>
												            </td>
								                        </tr>
										           </tbody>
									               </table>
                                                   </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <div class="nav-bar"></div>
                                                        <h4>Business Information</h4>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                         <table width="50%" cellspacing="5" border="0">
										                 <tbody>
										                     <tr>
										                         <td width="35%">Business ID <span class="required">*</span></td>
											                     <td width="50%"><em>autogenerate</em></td>
										                     </tr>
											                 <tr>
												                 <td>Status Date<span class="required">*</span></td>
												                 <td><input name="business_status_date" value="" class="required-entry required-entry input-text" type="text"></td>
										                     </tr>
                                                             <tr>
												                 <td>Business Name <span class="required">*</span></td>
												                 <td><input name="business_name" value="" class="required-entry required-entry input-text" type="text"></td>
											                 </tr>
											                 <tr>
												                 <td>Type of Industry <span class="required">*</span></td>
												                 <td><select name="business_industry_type" class="required-entry required-entry select" type="select">
													                         <option value="1">General Store </option>
													                         <option value="2">Mercado Vendor</option>
													                         <option value="2">Sari-sari Store</option>
													                         <option value="2">Tourism</option>
													                         <option value="2">Transportation</option>
													                         <option value="2">Entertainment</option>
													                         <option value="2">Farming</option>
													                         <option value="2">Fishing</option>
													                         <option value="2">Mechanical</option>
													                         <option value="2">Other</option>
													                 </select>
												                 </td>
											                 </tr>
											                 <tr>
												                 <td>Ave Daily Income <span class="required">*</span></td>
												                 <td><input name="business_average_daily_income" value="" class="required-entry required-entry input-text" type="text"></td>
											                 </tr>
											                 <tr>
												                 <td>Date Established <span class="required">*</span></td>
												                 <td><input name="business_established_date" value="" class="required-entry required-entry input-text" type="text"></td>
											                 </tr>
											                 <tr>
												                 <td>Days of Operation <span class="required">*</span></td>
												                 <td><select name="business_days_operation" class="required-entry required-entry select" type="select">
													                         <option value="1">Daily</option>
													                         <option value="2">5 days a week</option>
													                         <option value="3">Monthly</option>
													                         <option value="4">Quarterly</option>
													                         <option value="5">Semi-Annual</option>
													                         <option value="6">Annual</option>
													                 </select>
												                 </td>
											                 </tr>
                                                         </tbody>
										                 </table>
                                                     </td>
                                                 </tr>
                                                 <tr>
                                                    <td>
                                                        <div class="nav-bar"></div>
                                                        <h4>Co-Borrower Information</h4>
                                                    </td>
                                                </tr>
                                                <tr>
                                               <td>
                                                   <table width="100%" cellspacing="0" border="0">
										           <tbody>
										                  <tr>
										                      <td>
										                          <table width="100%" cellspacing="5" border="0">
										                          <tbody>
                                                                         <tr>
                                                                             <td >Use Existing Record</td>
                                                                             <td ><input type="checkbox" name="enable_coborrower_info"  onclick="enable_coborrower_fields()"> Enable</td>
                                                                         </tr>
                                                                         <tr>
                                                                             <td>Co-Borrower ID</td>
                                                                             <td><input name="coborrower_select" value="" class="required-entry required-entry input-text" type="text">
                                                                             &nbsp;<a href="">search</a></td>

                                                                         </tr>
										                                 <tr>
										                                     <td>Co-Borrower ID <span class="required">*</span></td>
                                                                             <td><em>autogenerate</em></td>
															             </tr>
															             <tr>
																             <td>Last Name <span class="required">*</span></td>
																             <td><input name="coborrower_lastname" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>                                                                                                                        <tr>
																             <td>First Name <span class="required">*</span></td>
																             <td><input name="coborrower_firstname" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Middle Name</td>
																             <td><input name="coborrower_middlename" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Address <span class="required">*</span></td>
																             <td><textarea name="coborrower_address" cols="20" rows="2"></textarea></td>
															             </tr>
															             <tr>
																             <td>Barangay <span class="required">*</span></td>
																             <td><input name="coborrower_barangay" value="" class="required-entry required-entry input-text" type="text"></td>
                                                                         </tr>
															             <tr>
																             <td>City <span class="required">*</span></td>
																             <td><input name="coborrower_city" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Island <span class="required">*</span></td>
																             <td><input name="coborrower_island" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
														         </tbody>
													             </table>
												             </td>
												             <td>
												                 <table width="100%" cellspacing="5"border="0">
														         <tbody>
															         <tr>
                                                                        <td width="50%"><br /><br /><br />Picture </td>
																        <td align="left" width="50%"><img src="img/no_photo.jpg" width="120" height="120" /><br />
																        <input name="coborrower_photo" value="" class="required-entry required-entry input-text" type="file"></td>
															        </tr>
                                                                    <tr>
																             <td>Phone <span class="required">*</span></td>
																             <td><input name="coborrower_phone" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Mobile </td>
																             <td><input name="coborrower_mobile" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Birthdate <span class="required">*</span></td>
																             <td><input name="coborrower_birthdate" value="" class="required-entry required-entry input-text" type="text"></td>
															             </tr>
															             <tr>
																             <td>Gender <span class="required">*</span></td>
																             <td><select name="coborrower_gender" class="required-entry required-entry select" type="select">
								                                                   <option value="1">Male</option>
																	               <option value="2">Female</option>
																	             </select>
																             </td>
															             </tr>
															             <tr>
																             <td>Civil Status <span class="required">*</span></td>
																             <td><select name="coborrower_civil_status" class="required-entry required-entry select" type="select">
																	               <option value="1">Single</option>
																	               <option value="2">Married</option>
																	               <option value="3">Divorced</option>
																	               <option value="4">Separated</option>
																	               <option value="5">Widowed</option>
																	             </select>
																              </td>
															             </tr>
														        </tbody>
													            </table>
												            </td>
								                        </tr>
										           </tbody>
									               </table>
                                                   </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <div class="nav-bar"></div>
                                                        <h4>Collateral Items</h4>
                                                    </td>
                                                </tr>
                                                <tr>
         							                <td>
                            	                        <table width="100%" cellspacing="0" border="0">
										                <tbody>
										                    <tr>
										                        <td width="50%">
								    		                    <table width="100%" cellspacing="5" border="0">

                                                                    <tr>
																        <td width="40%">Collateral ID<span class="required">*</span></td>
																        <td width="50%"><em>autogenerate</em></td>
															        </tr>
															        <tr>
																        <td>Item Description <span class="required">*</span></td>
																        <td><textarea name="item_description" cols="30" rows="3"></textarea></td>
															        </tr>
															        <tr>
																        <td>Manufacturer</td>
																        <td><input name="manufacturer" value="" class="required-entry required-entry input-text" type="text"></td>
															        </tr>
															        <tr>
																        <td>Model# <span class="required">*</span></td>
																        <td><input name="model_no" value="" class="required-entry required-entry input-text" type="text"></td>
															        </tr>
															        <tr>
																        <td>Serial# <span class="required">*</span></td>
																        <td><input name="serial_no" value="" class="required-entry required-entry input-text" type="text"></td>
															        </tr>
																    <tr>
																        <td>Date of Purchase <span class="required">*</span></td>
																        <td><input name="purchase_date" value="" class="required-entry required-entry input-text" type="text"></td>
															        </tr>
															        <tr>
																        <td>Collateral Status <span class="required">*</span></td>
																        <td>
																	        <select name="collateral_status" class="required-entry required-entry select" type="select">
																	        <option value="1">Borrower in Possession</option>
																	        <option value="2">Borrower Not In Posession</option>
																	        <option value="1">Repossessed</option>
																	        <option value="2">For Sale</option>                                                                                                                                        <option value="2">Sold</option>
																	        </select>
																        </td>
															        </tr>

											                    </table>
                                                                </td>
										                        <td width="50%">
											                        <table width="100%" cellspacing="5" border="0">
                                                                        <tr>
                                                                            <td width="50%"><br /><br /><br />Picture</td>
														                    <td align="left" width="50%"><img src="img/no_photo.jpg" width="120" height="120" /> <br />
															                <input name="photo" value="" class="required-entry required-entry input-text" type="file"></td>
														                </tr>
                                                                    </table>
										                        </td>
										                    </tr>
										                </tbody>
        	                                            </table>
									                </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <div class="nav-bar"></div>
                                                        <h4>Loan</h4>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <table width="100%" cellspacing="10" border="0">
									                    <tbody>
								                               <tr>
         							                               <td>
                                                                       <table width="100%" cellspacing="0" border="0">
                                                                       <tr>
                                                                           <td width="50%">
                                                                               <table width="100%" cellspacing="5" border="0">
                                                                                   <tr>
									                                                   <td width="35%">Loan ID<span class="required">*</span></td>
												                                       <td width="50%"><em>autogenerate</em></td>
											                                       </tr>
                                                                                   <tr>
											    	                                   <td>Inquiry Date<span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
  											                                       </tr>
											                                       <tr>
											    	                                   <td>Application Date<span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
											                                       <tr>
											    	                                   <td><select id="_loan_status_id" name="loan[status_id]" class="required-entry required-entry select" type="select">
													                                               <option value="1">Pending</option>
                                                                                                   <option value="2">Approved</option>
													                                               <option value="3">Denied</option>
													                                       </select> &nbsp; Date
									                                                   </td>
                                                                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
											                                       <tr>
											    	                                   <td>Paid In Full Date<span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                                   <tr>
											    	                                   <td>Collector ID <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
  											                                       </tr>
                                                                                   <tr>
											    	                                   <td>Date PN Signed <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                                   <tr>
																                       <td>Loan Type<span class="required">*</span></td>
																                       <td>
																				           <table>
																		                   <tbody>
  																			                   <tr>
																				                   <td><input type="radio" name="id_type" checked="checked" value="auto" onClick="changeIdType('id_auto');"> regular loan</td>
																				                   <td><div id="id_auto" style="position:relative;">
																						               &nbsp; &nbsp;
																						               <select id="_loan_chart_id" name="loan[chart_id]" class="required-entry required-entry select" type="select">
																	                                          <option value="1"> 30,000 </option>
									                                                                          <option value="2"> 27,000 </option>
	                                                                                                          <option value="3"> 24,000 </option>
                                                                                                              <option value="1"> 21,000 </option>
																	                                   </select>
																					                   </div>
																				                   </td>
																			                   </tr>
																			                   <tr>
																				                   <td><input type="radio" name="id_type" value="manual" onClick="changeIdType('id_manual');"> custom loan</td>
                   	                                                                               <td><div id="id_manual" style="float:left;">
																					                   &nbsp; &nbsp;
																					                   </div>
																				                   </td>
																			                   </tr>
																		                   </tbody>
																	                       </table>
																	<script type="text/javascript"><!--
																		function changeIdType(divName) {
																			var showDivName = divName, hideDivName = '';
																			if (divName == 'id_auto') {
																				hideDivName = 'id_manual';
																			} else if (divName == 'id_manual') {
																				hideDivName = 'id_auto';
																			} else {
																				return;
																			}
																			if (document.getElementById) { // DOM3 = IE5, NS6
																				document.getElementById(showDivName).style.visibility = 'visible';
																				document.getElementById(hideDivName).style.visibility = 'hidden';
																			} else {
																				if (document.layers) { // Netscape 4
																					eval( "document." + showDivName + ".visibility = 'visible'");
																					eval( "document." + hideDivName + ".visibility = 'hidden'");
																				} else { // IE 4
																					eval( "document.all." + showDivName + ".style.visibility = 'visible'");
																					eval( "document.all." + hideDivName + ".style.visibility = 'hidden'");
																				}
																			}
																		}
																		changeIdType('id_auto');
																		//-->
																	</script>

																                       </td>
															                       </tr>
                                                                               </table>
                                                                           </td>
                                                                           <td width="50%">
                                                                               <table width="100%" cellspacing="5" border="0">
											                                       <tr>
											    	                                   <td>Principal <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
											                                       <tr>
											    	                                   <td>Interest (%) <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                                   <tr>
									                                                   <td width="50%">Total Loan Amount<span class="required">*</span></td>
                                                                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                                   <tr>
											    	                                   <td>Surcharges <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
											                                       <tr>
											    	                                   <td>Loan Payment (Days)<span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                                    <tr>
											    	                                   <td>Payment Terms<span class="required">*</span></td>
												                                       <td><select id="_loan_chart_id" name="loan[chart_id]" class="required-entry required-entry select" type="select">
																	                                          <option value="1">Daily </option>
									                                                                          <option value="2">Weekly</option>
	                                                                                                          <option value="3">Bi-monthly</option>
                                                                                                              <option value="1">Monthly</option>
																	                                           </select>
                                                                                       </td>
											                                       </tr>
											                                       <tr>
											    	                                   <td>Monthly Approved <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
											                                       <tr>
											    	                                   <td>Loan Start Date <span class="required">*</span></td>
												                                       <td><input name="borrower_id" value="" class="required-entry required-entry input-text" type="text"></td>
											                                       </tr>
                                                                               </table>
                                                                           </td>
                                                                       </tr>
                                                                       </table>
                                                                   </td>
                                                               </tr>
                                                            </tbody>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <div class="nav-bar"></div>
                                                        <h4>Notes</h4>
                                                    </td>
                                                </tr>
                                                <tr>
										            <td>
                                                        <table width="100%" cellspacing="0" border="0">
										                <tbody>
										                    <tr>
										                        <td width="50%">
								    		                        <table width="100%" cellspacing="5" border="0">
							                                        <tbody>
                                                                        <tr>
										                                    <td width="45%">Notes ID <span class="required">*</span></td>
										                                    <td><em>autogenerate</em></td>
										                                </tr>
                                                                         <tr>
										                                    <td>Note Date<span class="required">*</span></td>
										                                    <td>03-17-2008</td>
										                                </tr>
										                                <tr>
										                                    <td>Entry Person</td>
										                                    <td><input name="manufacturer" value="" class="required-entry required-entry input-text" type="text"></td>
										                                </tr>
										                            </tbody>
											                        </table>
                                                                </td>
										                        <td width="50%">
										                            <table width="100%" cellspacing="5" border="0">
                                                                        <tr>
											                                <td>Note <span class="required">*</span>
											                                    <br />
											                                    <textarea name="item_description" cols="50" rows="4"></textarea>
                                                                            </td>
										                                </tr>
                                                                    </table>
										                        </td>
										                    </tr>
                                                        </tbody>
                                                        </table>
                                                    </td>
                                                </tr>
									            <tr >
                                                     <td>
                                                        <br />
                                                        <div align="center">
                                                             <button type="button" class="scalable back" onclick="setLocation('add_borrower_wizard.php')" style=""><span>Reset</span></button>
                                                             <button type="button" class="scalable cancel" onclick="setLocation('loan.php')" style=""><span>Cancel</span></button>
                                                             <button type="button" class="scalable save" onclick="setLocation('loan.php')" style=""><span>Save</span></button>
								                        </div>
                                                    </td>
                                                </tr>
									         </table>
									&nbsp;
									<script type="text/javascript"><!--
									function enable_borrower_fields() {
										var bizForm = document.form1;
										var checked = !bizForm.enable_borrower_info.checked;
										var unchecked = bizForm.enable_borrower_info.checked;

										bizForm.borrower_select.disabled = checked;
										bizForm.borrower_lastname.disabled = unchecked;
										bizForm.borrower_firstname.disabled = unchecked;
										bizForm.borrower_middlename.disabled = unchecked;
										bizForm.borrower_address.disabled = unchecked;
										bizForm.borrower_barangay.disabled = unchecked;
										bizForm.borrower_city.disabled = unchecked;
										bizForm.borrower_island.disabled = unchecked;
                                        bizForm.borrower_photo.disabled = unchecked;
										bizForm.borrower_phone.disabled = unchecked;
										bizForm.borrower_mobile.disabled = unchecked;
										bizForm.borrower_birthdate.disabled = unchecked;
										bizForm.borrower_gender.disabled = unchecked;
										bizForm.borrower_civil_status.disabled = unchecked;
										bizForm.borrower_status.disabled = unchecked;

                                        bizForm.business_status_date.disabled = unchecked;
										bizForm.business_name.disabled = unchecked;
										bizForm.business_industry_type.disabled = unchecked;
										bizForm.business_average_daily_income.disabled = unchecked;
										bizForm.business_established_date.disabled = unchecked;
										bizForm.business_days_operation.disabled = unchecked;

									}
                                    enable_borrower_fields();
                                    function enable_coborrower_fields() {
										var bizForm = document.form1;
										var checked = !bizForm.enable_coborrower_info.checked;
										var unchecked = bizForm.enable_coborrower_info.checked;

										bizForm.coborrower_select.disabled = checked;
										bizForm.coborrower_lastname.disabled = unchecked;
										bizForm.coborrower_firstname.disabled = unchecked;
										bizForm.coborrower_middlename.disabled = unchecked;
										bizForm.coborrower_address.disabled = unchecked;
										bizForm.coborrower_barangay.disabled = unchecked;
										bizForm.coborrower_city.disabled = unchecked;
										bizForm.coborrower_island.disabled = unchecked;
                                        bizForm.coborrower_photo.disabled = unchecked;
										bizForm.coborrower_phone.disabled = unchecked;
										bizForm.coborrower_mobile.disabled = unchecked;
										bizForm.coborrower_birthdate.disabled = unchecked;
										bizForm.coborrower_gender.disabled = unchecked;
										bizForm.coborrower_civil_status.disabled = unchecked;
										bizForm.coborrower_status.disabled = unchecked;
									}


                                    enable_coborrower_fields();
									//-->
								</script>



							</div>


							</form>
						</div>
					</div>
					
					<div class="section-menu" id="page:left">
						<h3>Loan Center</h3>
						<ul id="loan_info_tabs" class="tabs">
							<li>
						        <a href="add_borrower_wizard.php" title="Loan" class="tab-item-link active">
					            <span><div class="changed" title="The information in this tab has been changed."></div><div class="error" title="This tab contains invalid data. Please solve the problem before saving.">
								</div>Loan Entry</span>
						        </a>
						    </li>
						</ul>
						<div class="bottom"></div>
					</div>
              	</div>
			</div>
		</div>
	</div>

<?php

require 'footer.php';

?>